// ex4_4.cpp
#include <iostream>
#include <string>

int main()
{
    using namespace std;
    string firstname;
    string lastname;

    cout << "Enter your first name: ";
    cin >> firstname;
    cout << "Enter your last name: ";
    cin >> lastname;

    lastname += ", ";
    lastname += firstname;

    cout << "Here's the information in a single string: " << lastname << endl;

    return 0;
}
